home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
GoldED
/
Add-Ons
/
envMDT22
/
Install
< prev
next >
Wrap
Text File
|
1999-07-06
|
3KB
|
129 lines
; $VER: 1.0 All rights reserved.
(delopts "oknodelete" "force" "askuser")
(complete 0)
(if (exists "GOLDED:" (NOREQ))
(
(set vernum (getversion "golded:golded"))
(set ver (/ vernum 65536))
(set rev (- vernum (* ver 65536)))
(set version (+ (* 10 ver) rev))
(if (< version 47)
(
(message "\nSorry, GoldED 4.7.0 or better required")
(exit (quiet))
)
)
(message (cat "\n"
" \n"
"MicroDot mode for GoldED 4 \n"
" \n"
"©1997 Dietmar Eilert \n"
" All Rights Reserved. \n"
" \n"
" E-Mail: dietmar@tomate.tng.oche.de \n"
" \n"
"GoldED Release 4.7.0+ required. \n"
))
(if (not (exists "golded:api"))
(makedir "golded:api")
)
(if (not (exists "golded:syntax"))
(makedir "golded:syntax")
)
(copylib
(prompt "Install syntax parser ?")
(source "syntax/warpMail.parser")
(dest "golded:syntax")
(confirm)
(help @copylib-help)
)
(copylib
(prompt "Install API client ?")
(source "api/signature.api")
(dest "golded:api")
(confirm)
(help @copylib-help)
)
; install registry editor (if not yet installed)
(if (not (exists "golded:tools"))
(makedir "golded:tools")
)
(if (not (exists "golded:tools/regedit"))
(makedir "golded:tools/regedit")
)
(copylib
(prompt "Install registry editor ?")
(source "bin/regedit" )
(dest "golded:tools/regedit")
(confirm)
(help @copylib-help)
)
(if (= @language "deutsch")
(set language 1)
(set language 0)
)
(set language (askchoice
(prompt "\nSelect context menu language\n")
(help @askchoice-help)
(choices
" English"
" Deutsch"
)
(default language)
))
; update registry
(working "Updating registry...")
(if (= language 0)
(run "golded:tools/regedit/regedit script=install.bat presets/e/microdot.mouse")
(run "golded:tools/regedit/regedit script=install.bat presets/d/microdot.mouse")
)
)
(message (cat "\n"
"Please install GoldED before attempting to\n"
"install this client. \n"
))
)
(exit (quiet))
(welcome)